package main

import "fmt"

type Employee struct {
	Name    string
	Salary  float64
	Address Address
}

type Address struct {
	Street     string
	City       string
	State      string
	PostalCode string
}

type Employee1 struct {
	Name   string
	Salary float64
	Address
}

func main() {
	address := Address{Street: "123 Oak Street", City: "Changsha", State: "Chain", PostalCode: "421800"}
	employee := Employee{Name: "zhang3", Salary: 66.66, Address: address}
	fmt.Println(employee)
	var employee1 Employee1
	employee1.City = "changsha"
	fmt.Println(employee1)

}
